package com.cn.design.adapter.interfaces;

/**
 * @author: zhangyiting
 * @description:
 * @createDate: Created in 2022/7/7 22:38
 * @version: 1.0
 */
public class Operator  {
    private SampleOperation sampleOperation;

    public void addOperation(SampleOperation sampleOperation) {
        this.sampleOperation = sampleOperation;
    }

    public void operation1() {
        sampleOperation.Opertion1();
    }

    public void operation2() {
        sampleOperation.Opertion2();
    }

    public void operation3() {
        sampleOperation.Opertion3();
    }

    public void operation4() {
        sampleOperation.Opertion4();
    }

    public void operation5() {
        sampleOperation.Opertion5();
    }
}